package day01;

import java.util.ArrayList;

/**
 * @author feng
 * @Date 2021/12/22 17:51
 */
public class Person<T> {
    private T key;

    public Person(T key) {
        this.key = key;
    }

    public Person() {

    }

    public T getKey() {
        return key;
    }

    public void setKey(T key) {
        this.key = key;
    }

    public <E> E getArrayList(ArrayList<E> array) {
        return array.get(array.size());
    }
}
